KeyEventParams

fun KeyEventParams(uiEventModifierParams: UiEventModifierParams = UiEventModifierParams(), domKeyCode: <Error class: unknown class> = DOM_KEY_CODE_UNSPECIFIED, character: String = ""): KeyEventParams
fun KeyEventParams(uiEventModifierParams: UiEventModifierParams = UiEventModifierParams(), domKeyCode: <Error class: unknown class> = DOM_KEY_CODE_UNSPECIFIED, character: String = ""): KeyEventParams

Creates a new instance of KeyEventParams with the given parameters.

Since

8.0.0

Parameters

uiEventModifierParams

The DOM event parameters with the key modifiers.

domKeyCode

The code of the physical key used in the event.

character

A string that contains either a UTF-8 character associated with the domKeyCode or one of the predefined values. The predefined values are listed in the W3C specification.